home *** CD-ROM | disk | FTP | other *** search
- Path: Gamma.RU!srcc!newsserver
- References: <4i7i5n$fst@access4.digex.net>
- Message-ID: <AB-2IInun4@r-style.msk.su>
- Organization: JV R-Style
- From: Eugene K. Plaude <jec@r-style.msk.su>
- Date: Fri, 15 Mar 96 10:48:14 +0300
- X-Mailer: BML [MS/DOS Beauty Mail v.1.36]
- Subject: Re: HP C++ Compiler Problem w/ templates
- Newsgroups: comp.lang.c++
- Distribution: all
- Sender: news-service@srcc.msu.su
- X-Return-Path: gamma!rstyle!r-style.msk.su!jec
-
- Hi Chris,
-
- I've tried to compile string7.cpp from command line :
-
- CC +a1 -z -I/opt/systkt -I/opt/systkt/include
- -DOS_HPUX_9 -DOS_USE_SHORT_NAMES string7.cpp -L/opt/systkt/lib -lospace -o string7
-
- have got warning, but have got loadable module.
-
- For the SoftBench put in all C++ flags in the COMPFLALGS Makefile variable
- and set LDFLAGS=$(COMPFLAGS) -L/opt/systkt/lib.
-
- My environment is : HP-UX 10.01, E45, HP C++ 10.09, patch PHSS_6246.
-
- Hope this information'll help you.
-
- Best Regards,
- Eugene K. Plaude E-mail : jec@r-style.msk.su
- R-Style Software Lab Ltd. Fax : (+7)(095) 903-0625
- Bank Systems Research Department Tel : (+7)(095) 187-9433
- 38/1, Decabristov Str, 187-7636
- Moscow, 127273, Russia 181-3819
-
-
-
- > The HP compiler is generating a file in the ptrepository directory,
- > which fails to compile on the link step. It seems that this file is
- > missing a #include. If I add the #include manually and CC that file,
- > it will compile. If I go back up to the src directory and recompile,
- > the file gets regenerated in the ptrepository subdirectory and the
- > compile again fails on the link step.
- >
- > Has anyone else had this sort of problem? Is there workaround for it?
- > Some switch I need to pass to CC??
- >
- > Any help Appreciated!!!!
- >
- > Background info:
- > I am using HP C++ Compiler, version: Softbench 4.0.6
- > We are compiling on an HP 700 running 10.0.1
- >
- > I am trying to compile some of the sample programs that come with
- > Object Space's System<Toolkit>. Specifially, string7.cpp in the examples
- > directory if that matters to anyone.
- >
- >
- > Chris Ruegger
- >
- >
-